<?php

/******************************************************************************
 *
 *	PROJECT: Flynax Classifieds Software
 *	VERSION: 4.0
 *	LISENSE: FL87MPRYOA0R - http://www.flynax.com/license-agreement.html
 *	PRODUCT: Auto Classifieds
 *	DOMAIN: www.siyaradiali.com
 *	FILE: WEATHERFORECAST.INC.PHP
 *
 *	This script is a commercial software and any kind of using it must be 
 *	coordinate with Flynax Owners Team and be agree to Flynax License Agreement
 *
 *	This block may not be removed from this file or any other files with out 
 *	permission of Flynax respective owners.
 *
 *	Copyrights Flynax Classifieds Software | 2012
 *	http://www.flynax.com/
 *
 ******************************************************************************/

$reefless -> loadClass('WeatherForecast', null, 'weatherForecast');
$rlXajax -> registerFunction( array( 'saveWoeid', $rlWeatherForecast, 'ajaxSaveWoeid' ) );
$rlXajax -> registerFunction( array( 'savePosition', $rlWeatherForecast, 'ajaxSavePosition' ) );

/* get available listing groups */
$rlDb -> setTable('listing_groups');
$groups = $rlDb -> fetch(array('ID', 'Key'), array('Status' => 'active'));
$groups = $rlLang -> replaceLangKeys( $groups, 'listing_groups', array( 'name' ), RL_LANG_CODE, 'admin' );

$rlSmarty -> assign_by_ref('groups', $groups);